package com.xms.security.service;

import com.xms.security.identity.ICurrentUser;

/**
 * <p>
 * IPermissionService
 * </p>
 *
 * @author migo
 * @since 2021/9/4
 */
public interface IPrivilegeFilterService {
    boolean hasPermission(ICurrentUser currentUser, String areaName, String className, String methodName, boolean ignoreNull);

    boolean hasPermission(ICurrentUser currentUser, String url, boolean ignoreNull);
}
